{extend name="default/base" /}
{block name="css"}
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/mmgrid/mmGrid.css?v={$v}" />
{/block}
{block name="main"}
<div class="wst-toolbar">
  <select name="cat1" id="cat1" onchange="getCat(this.value)" class="s-query">
      <option value="">-请选择商品分类-</option>
    {volist name=":WSTShopCats(0)" id="vo"}
          <option value="{$vo['catId']}" >{$vo['catName']}</option>
    {/volist}
  </select>
  <select name="cat2" id="cat2" class="s-query"><option value="">-请选择-</option></select>
  <select id='goodsType' class="s-query">
     <option value=''>全部商品类型</option>
     <option value='0'>实物商品</option>
     <option value='1'>虚拟商品</option>
  </select>
  <input type="text" name="goodsName" id="goodsName" class="s-query" placeholder='商品名称'/>
  <a class="s-btn btn btn-primary" id="store-query" onclick="loadGrid()"><i class="fa fa-search"></i>查询</a>
  <a href='javascript:void(0);' onclick="benchDel('store',1)" class=" wst-rfloat s-del btn btn-danger" style="float: right;"><i class="fa fa-trash"></i>删除</a>
</div>
<div class='wst-grid'>
    <div id="mmg" class="mmg"></div>
    <div id="pg" style="text-align: right;"></div>
</div>
{/block}  
{block name="js"}
<script src="__STATIC__/plugins/mmgrid/mmGrid.js?v={$v}" type="text/javascript"></script>
<script type='text/javascript' src='__SHOP__/goods/goods.js?v={$v}'></script>
<script>
$(function(){illegalByPage({$p})})
</script>
{/block}